package com.itheima.tliasmanagement.mapper;

import com.itheima.tliasmanagement.entity.Emp;
import com.itheima.tliasmanagement.entity.EmpExpr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpExprMapper {

    void insertBatch(List<EmpExpr> exprList);

    void deleteByEmpIds(List<Integer> empIds);

    @Select("select * from emp_expr where emp_id = #{empId}")
    List<EmpExpr> selectByEmpId(Integer empId);

}
